<%-- 
    Document   : partlyVisible
    Created on : Jan 20, 2015, 5:32:16 PM
    Author     : mhunek
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
    <sec:authorize access="hasRole('ROLE_ADMIN')">

        This content will only be visible to users who have
        the "supervisor" authority in their list of <tt>GrantedAuthority</tt>s.

    </sec:authorize>
</body>
</html>
